' *****************************************************************************
' 
'  Copyright 2004, Weifen Luo
'  All rights reserved. The software and associated documentation 
'  supplied hereunder are the proprietary information of Weifen Luo
'  and are supplied subject to licence terms.
' 
'  WinFormsUI Library Version 1.0
' *****************************************************************************
Imports System
Namespace VS2005Style.Win32
    Friend Enum PeekMessageFlags
        PM_NOREMOVE = 0
        PM_REMOVE = 1
        PM_NOYIELD = 2
    End Enum
    <Flags()> _
    Friend Enum FlagsSetWindowPos As UInt32
        SWP_NOSIZE = 1
        SWP_NOMOVE = 2
        SWP_NOZORDER = 4
        SWP_NOREDRAW = 8
        SWP_NOACTIVATE = 16
        SWP_FRAMECHANGED = 32
        SWP_SHOWWINDOW = 64
        SWP_HIDEWINDOW = 128
        SWP_NOCOPYBITS = 256
        SWP_NOOWNERZORDER = 512
        SWP_NOSENDCHANGING = 1024
        SWP_DRAWFRAME = 32
        SWP_NOREPOSITION = 512
        SWP_DEFERERASE = 8192
        SWP_ASYNCWINDOWPOS = 16384
    End Enum
    Friend Enum SetWindowPosZ
        HWND_TOP = 0
        HWND_BOTTOM = 1
        HWND_TOPMOST = -1
        HWND_NOTOPMOST = -2
    End Enum
    Friend Enum ShowWindowStyles As Short
        SW_HIDE = 0
        SW_SHOWNORMAL = 1
        SW_NORMAL = 1
        SW_SHOWMINIMIZED = 2
        SW_SHOWMAXIMIZED = 3
        SW_MAXIMIZE = 3
        SW_SHOWNOACTIVATE = 4
        SW_SHOW = 5
        SW_MINIMIZE = 6
        SW_SHOWMINNOACTIVE = 7
        SW_SHOWNA = 8
        SW_RESTORE = 9
        SW_SHOWDEFAULT = 10
        SW_FORCEMINIMIZE = 11
        SW_MAX = 11
    End Enum
    Friend Enum WindowStyles As UInt32
        WS_OVERLAPPED = 0
        WS_POPUP = 2147483648
        WS_CHILD = 1073741824
        WS_MINIMIZE = 536870912
        WS_VISIBLE = 268435456
        WS_DISABLED = 134217728
        WS_CLIPSIBLINGS = 67108864
        WS_CLIPCHILDREN = 33554432
        WS_MAXIMIZE = 16777216
        WS_CAPTION = 12582912
        WS_BORDER = 8388608
        WS_DLGFRAME = 4194304
        WS_VSCROLL = 2097152
        WS_HSCROLL = 1048576
        WS_SYSMENU = 524288
        WS_THICKFRAME = 262144
        WS_GROUP = 131072
        WS_TABSTOP = 65536
        WS_MINIMIZEBOX = 131072
        WS_MAXIMIZEBOX = 65536
        WS_TILED = 0
        WS_ICONIC = 536870912
        WS_SIZEBOX = 262144
        WS_POPUPWINDOW = 2156396544
        WS_OVERLAPPEDWINDOW = 13565952
        WS_TILEDWINDOW = 13565952
        WS_CHILDWINDOW = 1073741824
    End Enum
    Friend Enum WindowExStyles
        WS_EX_DLGMODALFRAME = 1
        WS_EX_NOPARENTNOTIFY = 4
        WS_EX_TOPMOST = 8
        WS_EX_ACCEPTFILES = 16
        WS_EX_TRANSPARENT = 32
        WS_EX_MDICHILD = 64
        WS_EX_TOOLWINDOW = 128
        WS_EX_WINDOWEDGE = 256
        WS_EX_CLIENTEDGE = 512
        WS_EX_CONTEXTHELP = 1024
        WS_EX_RIGHT = 4096
        WS_EX_LEFT = 0
        WS_EX_RTLREADING = 8192
        WS_EX_LTRREADING = 0
        WS_EX_LEFTSCROLLBAR = 16384
        WS_EX_RIGHTSCROLLBAR = 0
        WS_EX_CONTROLPARENT = 65536
        WS_EX_STATICEDGE = 131072
        WS_EX_APPWINDOW = 262144
        WS_EX_OVERLAPPEDWINDOW = 768
        WS_EX_PALETTEWINDOW = 392
        WS_EX_LAYERED = 524288
    End Enum
    Friend Enum VirtualKeys
        VK_LBUTTON = 1
        VK_CANCEL = 3
        VK_BACK = 8
        VK_TAB = 9
        VK_CLEAR = 12
        VK_RETURN = 13
        VK_SHIFT = 16
        VK_CONTROL = 17
        VK_MENU = 18
        VK_CAPITAL = 20
        VK_ESCAPE = 27
        VK_SPACE = 32
        VK_PRIOR = 33
        VK_NEXT = 34
        VK_END = 35
        VK_HOME = 36
        VK_LEFT = 37
        VK_UP = 38
        VK_RIGHT = 39
        VK_DOWN = 40
        VK_SELECT = 41
        VK_EXECUTE = 43
        VK_SNAPSHOT = 44
        VK_HELP = 47
        VK_0 = 48
        VK_1 = 49
        VK_2 = 50
        VK_3 = 51
        VK_4 = 52
        VK_5 = 53
        VK_6 = 54
        VK_7 = 55
        VK_8 = 56
        VK_9 = 57
        VK_A = 65
        VK_B = 66
        VK_C = 67
        VK_D = 68
        VK_E = 69
        VK_F = 70
        VK_G = 71
        VK_H = 72
        VK_I = 73
        VK_J = 74
        VK_K = 75
        VK_L = 76
        VK_M = 77
        VK_N = 78
        VK_O = 79
        VK_P = 80
        VK_Q = 81
        VK_R = 82
        VK_S = 83
        VK_T = 84
        VK_U = 85
        VK_V = 86
        VK_W = 87
        VK_X = 88
        VK_Y = 89
        VK_Z = 90
        VK_NUMPAD0 = 96
        VK_NUMPAD1 = 97
        VK_NUMPAD2 = 98
        VK_NUMPAD3 = 99
        VK_NUMPAD4 = 100
        VK_NUMPAD5 = 101
        VK_NUMPAD6 = 102
        VK_NUMPAD7 = 103
        VK_NUMPAD8 = 104
        VK_NUMPAD9 = 105
        VK_MULTIPLY = 106
        VK_ADD = 107
        VK_SEPARATOR = 108
        VK_SUBTRACT = 109
        VK_DECIMAL = 110
        VK_DIVIDE = 111
        VK_ATTN = 246
        VK_CRSEL = 247
        VK_EXSEL = 248
        VK_EREOF = 249
        VK_PLAY = 250
        VK_ZOOM = 251
        VK_NONAME = 252
        VK_PA1 = 253
        VK_OEM_CLEAR = 254
        VK_LWIN = 91
        VK_RWIN = 92
        VK_APPS = 93
        VK_LSHIFT = 160
        VK_RSHIFT = 161
        VK_LCONTROL = 162
        VK_RCONTROL = 163
        VK_LMENU = 164
        VK_RMENU = 165
    End Enum
    Friend Enum Msgs
        WM_NULL = 0
        WM_CREATE = 1
        WM_DESTROY = 2
        WM_MOVE = 3
        WM_SIZE = 5
        WM_ACTIVATE = 6
        WM_SETFOCUS = 7
        WM_KILLFOCUS = 8
        WM_ENABLE = 10
        WM_SETREDRAW = 11
        WM_SETTEXT = 12
        WM_GETTEXT = 13
        WM_GETTEXTLENGTH = 14
        WM_PAINT = 15
        WM_CLOSE = 16
        WM_QUERYENDSESSION = 17
        WM_QUIT = 18
        WM_QUERYOPEN = 19
        WM_ERASEBKGND = 20
        WM_SYSCOLORCHANGE = 21
        WM_ENDSESSION = 22
        WM_SHOWWINDOW = 24
        WM_WININICHANGE = 26
        WM_SETTINGCHANGE = 26
        WM_DEVMODECHANGE = 27
        WM_ACTIVATEAPP = 28
        WM_FONTCHANGE = 29
        WM_TIMECHANGE = 30
        WM_CANCELMODE = 31
        WM_SETCURSOR = 32
        WM_MOUSEACTIVATE = 33
        WM_CHILDACTIVATE = 34
        WM_QUEUESYNC = 35
        WM_GETMINMAXINFO = 36
        WM_PAINTICON = 38
        WM_ICONERASEBKGND = 39
        WM_NEXTDLGCTL = 40
        WM_SPOOLERSTATUS = 42
        WM_DRAWITEM = 43
        WM_MEASUREITEM = 44
        WM_DELETEITEM = 45
        WM_VKEYTOITEM = 46
        WM_CHARTOITEM = 47
        WM_SETFONT = 48
        WM_GETFONT = 49
        WM_SETHOTKEY = 50
        WM_GETHOTKEY = 51
        WM_QUERYDRAGICON = 55
        WM_COMPAREITEM = 57
        WM_GETOBJECT = 61
        WM_COMPACTING = 65
        WM_COMMNOTIFY = 68
        WM_WINDOWPOSCHANGING = 70
        WM_WINDOWPOSCHANGED = 71
        WM_POWER = 72
        WM_COPYDATA = 74
        WM_CANCELJOURNAL = 75
        WM_NOTIFY = 78
        WM_INPUTLANGCHANGEREQUEST = 80
        WM_INPUTLANGCHANGE = 81
        WM_TCARD = 82
        WM_HELP = 83
        WM_USERCHANGED = 84
        WM_NOTIFYFORMAT = 85
        WM_CONTEXTMENU = 123
        WM_STYLECHANGING = 124
        WM_STYLECHANGED = 125
        WM_DISPLAYCHANGE = 126
        WM_GETICON = 127
        WM_SETICON = 128
        WM_NCCREATE = 129
        WM_NCDESTROY = 130
        WM_NCCALCSIZE = 131
        WM_NCHITTEST = 132
        WM_NCPAINT = 133
        WM_NCACTIVATE = 134
        WM_GETDLGCODE = 135
        WM_SYNCPAINT = 136
        WM_NCMOUSEMOVE = 160
        WM_NCLBUTTONDOWN = 161
        WM_NCLBUTTONUP = 162
        WM_NCLBUTTONDBLCLK = 163
        WM_NCRBUTTONDOWN = 164
        WM_NCRBUTTONUP = 165
        WM_NCRBUTTONDBLCLK = 166
        WM_NCMBUTTONDOWN = 167
        WM_NCMBUTTONUP = 168
        WM_NCMBUTTONDBLCLK = 169
        WM_KEYDOWN = 256
        WM_KEYUP = 257
        WM_CHAR = 258
        WM_DEADCHAR = 259
        WM_SYSKEYDOWN = 260
        WM_SYSKEYUP = 261
        WM_SYSCHAR = 262
        WM_SYSDEADCHAR = 263
        WM_KEYLAST = 264
        WM_IME_STARTCOMPOSITION = 269
        WM_IME_ENDCOMPOSITION = 270
        WM_IME_COMPOSITION = 271
        WM_IME_KEYLAST = 271
        WM_INITDIALOG = 272
        WM_COMMAND = 273
        WM_SYSCOMMAND = 274
        WM_TIMER = 275
        WM_HSCROLL = 276
        WM_VSCROLL = 277
        WM_INITMENU = 278
        WM_INITMENUPOPUP = 279
        WM_MENUSELECT = 287
        WM_MENUCHAR = 288
        WM_ENTERIDLE = 289
        WM_MENURBUTTONUP = 290
        WM_MENUDRAG = 291
        WM_MENUGETOBJECT = 292
        WM_UNINITMENUPOPUP = 293
        WM_MENUCOMMAND = 294
        WM_CTLCOLORMSGBOX = 306
        WM_CTLCOLOREDIT = 307
        WM_CTLCOLORLISTBOX = 308
        WM_CTLCOLORBTN = 309
        WM_CTLCOLORDLG = 310
        WM_CTLCOLORSCROLLBAR = 311
        WM_CTLCOLORSTATIC = 312
        WM_MOUSEMOVE = 512
        WM_LBUTTONDOWN = 513
        WM_LBUTTONUP = 514
        WM_LBUTTONDBLCLK = 515
        WM_RBUTTONDOWN = 516
        WM_RBUTTONUP = 517
        WM_RBUTTONDBLCLK = 518
        WM_MBUTTONDOWN = 519
        WM_MBUTTONUP = 520
        WM_MBUTTONDBLCLK = 521
        WM_MOUSEWHEEL = 522
        WM_PARENTNOTIFY = 528
        WM_ENTERMENULOOP = 529
        WM_EXITMENULOOP = 530
        WM_NEXTMENU = 531
        WM_SIZING = 532
        WM_CAPTURECHANGED = 533
        WM_MOVING = 534
        WM_DEVICECHANGE = 537
        WM_MDICREATE = 544
        WM_MDIDESTROY = 545
        WM_MDIACTIVATE = 546
        WM_MDIRESTORE = 547
        WM_MDINEXT = 548
        WM_MDIMAXIMIZE = 549
        WM_MDITILE = 550
        WM_MDICASCADE = 551
        WM_MDIICONARRANGE = 552
        WM_MDIGETACTIVE = 553
        WM_MDISETMENU = 560
        WM_ENTERSIZEMOVE = 561
        WM_EXITSIZEMOVE = 562
        WM_DROPFILES = 563
        WM_MDIREFRESHMENU = 564
        WM_IME_SETCONTEXT = 641
        WM_IME_NOTIFY = 642
        WM_IME_CONTROL = 643
        WM_IME_COMPOSITIONFULL = 644
        WM_IME_SELECT = 645
        WM_IME_CHAR = 646
        WM_IME_REQUEST = 648
        WM_IME_KEYDOWN = 656
        WM_IME_KEYUP = 657
        WM_MOUSEHOVER = 673
        WM_MOUSELEAVE = 675
        WM_CUT = 768
        WM_COPY = 769
        WM_PASTE = 770
        WM_CLEAR = 771
        WM_UNDO = 772
        WM_RENDERFORMAT = 773
        WM_RENDERALLFORMATS = 774
        WM_DESTROYCLIPBOARD = 775
        WM_DRAWCLIPBOARD = 776
        WM_PAINTCLIPBOARD = 777
        WM_VSCROLLCLIPBOARD = 778
        WM_SIZECLIPBOARD = 779
        WM_ASKCBFORMATNAME = 780
        WM_CHANGECBCHAIN = 781
        WM_HSCROLLCLIPBOARD = 782
        WM_QUERYNEWPALETTE = 783
        WM_PALETTEISCHANGING = 784
        WM_PALETTECHANGED = 785
        WM_HOTKEY = 786
        WM_PRINT = 791
        WM_PRINTCLIENT = 792
        WM_HANDHELDFIRST = 856
        WM_HANDHELDLAST = 863
        WM_AFXFIRST = 864
        WM_AFXLAST = 895
        WM_PENWINFIRST = 896
        WM_PENWINLAST = 911
        WM_APP = 32768
        WM_USER = 1024
    End Enum
    Friend Enum Cursors As UInt32
        IDC_ARROW = 32512
        IDC_IBEAM = 32513
        IDC_WAIT = 32514
        IDC_CROSS = 32515
        IDC_UPARROW = 32516
        IDC_SIZE = 32640
        IDC_ICON = 32641
        IDC_SIZENWSE = 32642
        IDC_SIZENESW = 32643
        IDC_SIZEWE = 32644
        IDC_SIZENS = 32645
        IDC_SIZEALL = 32646
        IDC_NO = 32648
        IDC_HAND = 32649
        IDC_APPSTARTING = 32650
        IDC_HELP = 32651
    End Enum
    Friend Enum TrackerEventFlags As UInt32
        TME_HOVER = 1
        TME_LEAVE = 2
        TME_QUERY = 1073741824
        TME_CANCEL = 2147483648
    End Enum
    Friend Enum MouseActivateFlags
        MA_ACTIVATE = 1
        MA_ACTIVATEANDEAT = 2
        MA_NOACTIVATE = 3
        MA_NOACTIVATEANDEAT = 4
    End Enum
    Friend Enum DialogCodes
        DLGC_WANTARROWS = 1
        DLGC_WANTTAB = 2
        DLGC_WANTALLKEYS = 4
        DLGC_WANTMESSAGE = 4
        DLGC_HASSETSEL = 8
        DLGC_DEFPUSHBUTTON = 16
        DLGC_UNDEFPUSHBUTTON = 32
        DLGC_RADIOBUTTON = 64
        DLGC_WANTCHARS = 128
        DLGC_STATIC = 256
        DLGC_BUTTON = 8192
    End Enum
    Friend Enum UpdateLayeredWindowsFlags
        ULW_COLORKEY = 1
        ULW_ALPHA = 2
        ULW_OPAQUE = 4
    End Enum
    Friend Enum AlphaFlags As Byte
        AC_SRC_OVER = 0
        AC_SRC_ALPHA = 1
    End Enum
    Friend Enum RasterOperations As UInt32
        SRCCOPY = 13369376
        SRCPAINT = 15597702
        SRCAND = 8913094
        SRCINVERT = 6684742
        SRCERASE = 4457256
        NOTSRCCOPY = 3342344
        NOTSRCERASE = 1114278
        MERGECOPY = 12583114
        MERGEPAINT = 12255782
        PATCOPY = 15728673
        PATPAINT = 16452105
        PATINVERT = 5898313
        DSTINVERT = 5570569
        BLACKNESS = 66
        WHITENESS = 16711778
    End Enum
    Friend Enum BrushStyles
        BS_SOLID = 0
        BS_NULL = 1
        BS_HOLLOW = 1
        BS_HATCHED = 2
        BS_PATTERN = 3
        BS_INDEXED = 4
        BS_DIBPATTERN = 5
        BS_DIBPATTERNPT = 6
        BS_PATTERN8X8 = 7
        BS_DIBPATTERN8X8 = 8
        BS_MONOPATTERN = 9
    End Enum
    Friend Enum HatchStyles
        HS_HORIZONTAL = 0
        HS_VERTICAL = 1
        HS_FDIAGONAL = 2
        HS_BDIAGONAL = 3
        HS_CROSS = 4
        HS_DIAGCROSS = 5
    End Enum
    Friend Enum CombineFlags
        RGN_AND = 1
        RGN_OR = 2
        RGN_XOR = 3
        RGN_DIFF = 4
        RGN_COPY = 5
    End Enum
    Friend Enum HitTest
        HTERROR = -2
        HTTRANSPARENT = -1
        HTNOWHERE = 0
        HTCLIENT = 1
        HTCAPTION = 2
        HTSYSMENU = 3
        HTGROWBOX = 4
        HTSIZE = 4
        HTMENU = 5
        HTHSCROLL = 6
        HTVSCROLL = 7
        HTMINBUTTON = 8
        HTMAXBUTTON = 9
        HTLEFT = 10
        HTRIGHT = 11
        HTTOP = 12
        HTTOPLEFT = 13
        HTTOPRIGHT = 14
        HTBOTTOM = 15
        HTBOTTOMLEFT = 16
        HTBOTTOMRIGHT = 17
        HTBORDER = 18
        HTREDUCE = 8
        HTZOOM = 9
        HTSIZEFIRST = 10
        HTSIZELAST = 17
        HTOBJECT = 19
        HTCLOSE = 20
        HTHELP = 21
    End Enum
    Friend Enum SystemParametersInfoActions As UInt32
        GetBeep = 1
        SetBeep = 2
        GetMouse = 3
        SetMouse = 4
        GetBorder = 5
        SetBorder = 6
        GetKeyboardSpeed = 10
        SetKeyboardSpeed = 11
        LangDriver = 12
        IconHorizontalSpacing = 13
        GetScreenSaveTimeout = 14
        SetScreenSaveTimeout = 15
        GetScreenSaveActive = 16
        SetScreenSaveActive = 17
        GetGridGranularity = 18
        SetGridGranularity = 19
        SetDeskWallPaper = 20
        SetDeskPattern = 21
        GetKeyboardDelay = 22
        SetKeyboardDelay = 23
        IconVerticalSpacing = 24
        GetIconTitleWrap = 25
        SetIconTitleWrap = 26
        GetMenuDropAlignment = 27
        SetMenuDropAlignment = 28
        SetDoubleClkWidth = 29
        SetDoubleClkHeight = 30
        GetIconTitleLogFont = 31
        SetDoubleClickTime = 32
        SetMouseButtonSwap = 33
        SetIconTitleLogFont = 34
        GetFastTaskSwitch = 35
        SetFastTaskSwitch = 36
        SetDragFullWindows = 37
        GetDragFullWindows = 38
        GetNonClientMetrics = 41
        SetNonClientMetrics = 42
        GetMinimizedMetrics = 43
        SetMinimizedMetrics = 44
        GetIconMetrics = 45
        SetIconMetrics = 46
        SetWorkArea = 47
        GetWorkArea = 48
        SetPenWindows = 49
        GetFilterKeys = 50
        SetFilterKeys = 51
        GetToggleKeys = 52
        SetToggleKeys = 53
        GetMouseKeys = 54
        SetMouseKeys = 55
        GetShowSounds = 56
        SetShowSounds = 57
        GetStickyKeys = 58
        SetStickyKeys = 59
        GetAccessTimeout = 60
        SetAccessTimeout = 61
        GetSerialKeys = 62
        SetSerialKeys = 63
        GetSoundsEntry = 64
        SetSoundsEntry = 65
        GetHighContrast = 66
        SetHighContrast = 67
        GetKeyboardPref = 68
        SetKeyboardPref = 69
        GetScreenReader = 70
        SetScreenReader = 71
        GetAnimation = 72
        SetAnimation = 73
        GetFontSmoothing = 74
        SetFontSmoothing = 75
        SetDragWidth = 76
        SetDragHeight = 77
        SetHandHeld = 78
        GetLowPowerTimeout = 79
        GetPowerOffTimeout = 80
        SetLowPowerTimeout = 81
        SetPowerOffTimeout = 82
        GetLowPowerActive = 83
        GetPowerOffActive = 84
        SetLowPowerActive = 85
        SetPowerOffActive = 86
        SetCursors = 87
        SetIcons = 88
        GetDefaultInputLang = 89
        SetDefaultInputLang = 90
        SetLangToggle = 91
        GetWindwosExtension = 92
        SetMouseTrails = 93
        GetMouseTrails = 94
        ScreenSaverRunning = 97
        GetMouseHoverTime = 102
    End Enum
    <Flags()> _
    Friend Enum FlagsAnimateWindow As UInt32
        AW_HOR_POSITIVE = 1
        AW_HOR_NEGATIVE = 2
        AW_VER_POSITIVE = 4
        AW_VER_NEGATIVE = 8
        AW_CENTER = 16
        AW_HIDE = 65536
        AW_ACTIVATE = 131072
        AW_SLIDE = 262144
        AW_BLEND = 524288
    End Enum
    <Flags()> _
    Friend Enum FlagsDCX As UInt32
        DCX_WINDOW = 1
        DCX_CACHE = 2
        DCX_NORESETATTRS = 4
        DCX_CLIPCHILDREN = 8
        DCX_CLIPSIBLINGS = 16
        DCX_PARENTCLIP = 32
        DCX_EXCLUDERGN = 64
        DCX_INTERSECTRGN = 128
        DCX_EXCLUDEUPDATE = 256
        DCX_INTERSECTUPDATE = 512
        DCX_LOCKWINDOWUPDATE = 1024
        DCX_NORECOMPUTE = 1048576
        DCX_VALIDATE = 2097152
    End Enum
End Namespace
